<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>跳转提示</title>
<script type="text/javascript" src="{__PUBLIC_PATH}/common/js/jquery.tools.min.js?v={$version}"></script>
<script type="text/javascript" src="{__PUBLIC_PATH}/common/plugins/layer-v3.1.0/layer.js?v={$version}"></script>
<script type="text/javascript" src="{__ADMIN_PATH}/assets/libs/layui/layui.js?v={$version}"></script>
<script type="text/javascript" src="{__PUBLIC_PATH}/admin/pcf/global.js?v={$version}"></script>
<link href="{__PUBLIC_PATH}/common/bootstrap/css/bootstrap.min.css?v={$version}" rel="stylesheet">
<style type="text/css">
    *{padding:0;margin:0;}
    body{background:#fff;font-family:'微软雅黑';color:#CCC;font-size:16px;}
    .system-message{padding:24px 30px;margin:auto;border:#e8e8e8 1px solid;top:50%;width:400px;background-color:#fff;box-shadow:0 0 8px rgba(0,0,0,0.1);border-radius:4px;overflow:hidden;}
    @media screen and (max-width:500px){.system-message{width:auto!important;}}
    .system-message h1{font-size:100px;font-weight:normal;line-height:120px;margin-bottom:5px;}
    .system-message .jump{padding-top:10px;color:#999;}
    .system-message .success,.system-message .error{line-height:1.8em;color:#999;font-size:36px;font-family:'黑体';}
    .system-message .detail{font-size:12px;line-height:20px;margin-top:12px;display:none;}
    .system-message .tit{position:relative;height:50px;line-height:50px;width:100%;border-bottom:1px solid #eee;}
    .system-message .tit i{position:absolute;top:12px;font-size:30px;margin-right:10px;color:#53bb4c;}
    .system-message .tit b{margin:0 15px 0 30px;font-weight:normal;font-size:14px;color:#53bb4c;}
    .system-message .tit span{font-size:14px;margin:0 10px;color:#999;}
    .system-message ul{margin:10px auto;overflow:hidden;}
    .system-message ul li{float:left;list-style:none;margin:5px 18px 5px 0;}
    .system-message .buttom{margin:10px auto;width:100%;text-align:center;line-height:40px;color:red;}
</style>
<script type="text/javascript">
    var gzpcf_basefile = window.location.pathname;
    var module_name = "";
    var __root_dir__ = "{$Request.domain}";
    var __admin_dir__ = "{$pcfurl}";
</script>
<script type="text/javascript">
    $(function(){
        var height2=$('.system-message').height();
        var height1=$(window).height();
        $('.system-message').css('margin-top',((height1-height2)/3)-30);
    });
</script>
</head>
<body>
<div class="system-message">
    <div class="tit">
        <i class="glyphicon glyphicon-ok-circle"></i><span><b>成功{$msg}文档</b>请选择你的后续操作：</span>
    </div>
    <ul>
        <li><span>已发布文档管理</span><a href="{$listurl}" style="display:none;font-size:14px;">已发布文档管理</a></li>
        <li style="margin-left:15%;"><span>浏览文档</span><a href="{$arcurl}" target="_blank" style="display:none;font-size:14px;">浏览文档</a></li>
    </ul>
    {if condition=" 2 == $seo_pseudo && 1 != $env_is_uphtml "}
    <div class="buttom" id="tips">正在生成当前文档……请勿刷新！</div>
    <input type="hidden" id="is_uphtml" value="1">
    {else/}
    <input type="hidden" id="is_uphtml" value="0">
    {/if}
</div>
<script type="text/javascript">
    $(function(){
        var is_uphtml = $('#is_uphtml').val();
        if (0 == is_uphtml) {
            $('.system-message ul li').each(function(i,o){
                $(o).find('span').hide();
                $(o).find('a').show();
            })
        }
    });
</script>

{php}
if (2 == $seo_pseudo && 1 != $env_is_uphtml) {
    cookie('ENV_IS_UPHTML', 1);
{/php}
<script type="text/javascript">
    // 生成静态页面代码
    var aid = "{$data['aid']}";
    var typeid = "{$data['tid']}";
    var ctl_name = "{$ctl_name}";
    if(aid > 0){}
</script>
{php}
    } else if (in_array($seo_pseudo, [1,3])) {
{/php}
<script type="text/javascript">
// 生成静态页面代码
var aid = "{$data['aid']}";
if(aid > 0){
    // 百度自动推送
    // 更新sitemap.xml地图
}
</script>
{php}
    }
{/php}

</body>
</html>